package com.jspgou.cms.dao;

import com.jspgou.common.hibernate3.Updater;
import com.jspgou.common.page.Pagination;
import com.jspgou.cms.entity.ShopPurchase;

public interface ShopPurchaseDao {
	public Pagination getPage(int pageNo, int pageSize);

	public ShopPurchase findById(Long id);

	public ShopPurchase save(ShopPurchase bean);

	public ShopPurchase updateByUpdater(Updater<ShopPurchase> updater);

	public ShopPurchase deleteById(Long id);
	
	public Pagination getPageByTag(String merchantid,int pageNo,int pageSize);
}